package com.zoio.saike.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javacommon.base.*;
import cn.org.rapid_framework.page.*;
import com.zoio.saike.model.*;
import com.zoio.saike.dao.*;
import com.zoio.saike.vo.query.*;

/**
 * @author Bryan.Zhang@ZOIO.NET
 * @date 1/2/2011
 */

@Service
@Transactional
public class AmFileManager extends BaseManager<AmFile,java.lang.String>{

	private AmFileDao amFileDao;
	public void setAmFileDao(AmFileDao dao) {
		this.amFileDao = dao;
	}
	
	public EntityDao<AmFile,java.lang.String> getEntityDao() {
		return this.amFileDao;
	}
	
	@Transactional(readOnly=true)
	public Page<AmFile> findPage(AmFileQuery query) {
		return amFileDao.findPage(query);
	}
	
}
